
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>模板文件 · Diboot接口基础项目</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-anchor-navigation-ex/style/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-theme-vuejs-2/vue.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="包说明.html" />
    
    
    <link rel="prev" href="静态文件.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                



<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    介绍
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../基础.html">
            
                <a href="../基础.html">
            
                    
                    基础
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="安装.html">
            
                <a href="安装.html">
            
                    
                    安装
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="开发规范.html">
            
                <a href="开发规范.html">
            
                    
                    开发规范
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3" data-path="配置文件.html">
            
                <a href="配置文件.html">
            
                    
                    配置文件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.4" data-path="静态文件.html">
            
                <a href="静态文件.html">
            
                    
                    静态文件
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.2.5" data-path="模板文件.html">
            
                <a href="模板文件.html">
            
                    
                    模板文件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.6" data-path="包说明.html">
            
                <a href="包说明.html">
            
                    
                    包说明
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../接口与访问.html">
            
                <a href="../接口与访问.html">
            
                    
                    接口与访问
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="../接口与访问/添加新接口.html">
            
                <a href="../接口与访问/添加新接口.html">
            
                    
                    添加新接口
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="../接口与访问/参数获取.html">
            
                <a href="../接口与访问/参数获取.html">
            
                    
                    参数获取
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="../模型.html">
            
                <a href="../模型.html">
            
                    
                    模型
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="../模型/添加模型.html">
            
                <a href="../模型/添加模型.html">
            
                    
                    添加模型
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="../模型/模型校验.html">
            
                <a href="../模型/模型校验.html">
            
                    
                    模型校验
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="../数据库.html">
            
                <a href="../数据库.html">
            
                    
                    数据库
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1" data-path="../数据库/数据库连接.html">
            
                <a href="../数据库/数据库连接.html">
            
                    
                    数据库连接
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.2" data-path="../数据库/条件构造器.html">
            
                <a href="../数据库/条件构造器.html">
            
                    
                    条件构造器
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>



                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                

                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >模板文件</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <div id="anchor-navigation-ex-navbar"><i class="fa fa-navicon"></i><ul><li><span class="title-icon "></span><a href="#&#x6A21;&#x677F;&#x6587;&#x4EF6;"><b>1. </b>&#x6A21;&#x677F;&#x6587;&#x4EF6;</a></li><ul><li><span class="title-icon "></span><a href="#&#x6A21;&#x677F;&#x652F;&#x6301;"><b>1.1. </b>&#x6A21;&#x677F;&#x652F;&#x6301;</a></li><li><span class="title-icon "></span><a href="#&#x6A21;&#x677F;&#x6587;&#x4EF6;_1"><b>1.2. </b>&#x6A21;&#x677F;&#x6587;&#x4EF6;</a></li><ul><li><span class="title-icon "></span><a href="#&#x6587;&#x4EF6;&#x8DEF;&#x5F84;"><b>1.2.1. </b>&#x6587;&#x4EF6;&#x8DEF;&#x5F84;</a></li><li><span class="title-icon "></span><a href="#&#x6587;&#x4EF6;&#x683C;&#x5F0F;"><b>1.2.2. </b>&#x6587;&#x4EF6;&#x683C;&#x5F0F;</a></li></ul></ul></ul></div><a href="#&#x6A21;&#x677F;&#x6587;&#x4EF6;" id="anchorNavigationExGoTop"><i class="fa fa-arrow-up"></i></a><h1 id="&#x6A21;&#x677F;&#x6587;&#x4EF6;"><a name="&#x6A21;&#x677F;&#x6587;&#x4EF6;" class="anchor-navigation-ex-anchor" href="#&#x6A21;&#x677F;&#x6587;&#x4EF6;"><i class="fa fa-link" aria-hidden="true"></i></a>1. &#x6A21;&#x677F;&#x6587;&#x4EF6;</h1>
<h2 id="&#x6A21;&#x677F;&#x652F;&#x6301;"><a name="&#x6A21;&#x677F;&#x652F;&#x6301;" class="anchor-navigation-ex-anchor" href="#&#x6A21;&#x677F;&#x652F;&#x6301;"><i class="fa fa-link" aria-hidden="true"></i></a>1.1. &#x6A21;&#x677F;&#x652F;&#x6301;</h2>
<ul>
<li>&#x8BE5;&#x9879;&#x76EE;&#x6A21;&#x677F;&#x9ED8;&#x8BA4;&#x652F;&#x6301;<a href="">freemarker</a>&#x6A21;&#x677F;&#x5F15;&#x64CE;&#x3002;</li>
</ul>
<h2 id="&#x6A21;&#x677F;&#x6587;&#x4EF6;_1"><a name="&#x6A21;&#x677F;&#x6587;&#x4EF6;_1" class="anchor-navigation-ex-anchor" href="#&#x6A21;&#x677F;&#x6587;&#x4EF6;_1"><i class="fa fa-link" aria-hidden="true"></i></a>1.2. &#x6A21;&#x677F;&#x6587;&#x4EF6;</h2>
<h3 id="&#x6587;&#x4EF6;&#x8DEF;&#x5F84;"><a name="&#x6587;&#x4EF6;&#x8DEF;&#x5F84;" class="anchor-navigation-ex-anchor" href="#&#x6587;&#x4EF6;&#x8DEF;&#x5F84;"><i class="fa fa-link" aria-hidden="true"></i></a>1.2.1. &#x6587;&#x4EF6;&#x8DEF;&#x5F84;</h3>
<blockquote>
<p>freemarker&#x6A21;&#x677F;&#x6587;&#x4EF6;&#x9ED8;&#x8BA4;&#x5B58;&#x653E;&#x5728;&#x9879;&#x76EE;&#x7684;<a href="">resources/templates</a>&#x6587;&#x4EF6;&#x5939;&#x4E0B;&#x3002;</p>
</blockquote>
<h3 id="&#x6587;&#x4EF6;&#x683C;&#x5F0F;"><a name="&#x6587;&#x4EF6;&#x683C;&#x5F0F;" class="anchor-navigation-ex-anchor" href="#&#x6587;&#x4EF6;&#x683C;&#x5F0F;"><i class="fa fa-link" aria-hidden="true"></i></a>1.2.2. &#x6587;&#x4EF6;&#x683C;&#x5F0F;</h3>
<blockquote>
<p>&#x9879;&#x76EE;freemarker&#x6A21;&#x677F;&#x6587;&#x4EF6;&#x9ED8;&#x8BA4;&#x4EE5;<a href="">.ftl</a>&#x7ED3;&#x5C3E;&#xFF0C;&#x8868;&#x793A;&#x8FD9;&#x662F;&#x4E00;&#x4E2A;&#x6A21;&#x677F;&#x6587;&#x4EF6;&#x3002;</p>
</blockquote>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                

            </div>

            
                
                <a href="静态文件.html" class="navigation navigation-prev " aria-label="Previous page: 静态文件">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="包说明.html" class="navigation navigation-next " aria-label="Next page: 包说明">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"模板文件","level":"1.2.5","depth":2,"next":{"title":"包说明","level":"1.2.6","depth":2,"path":"基础/包说明.md","ref":"基础/包说明.md","articles":[]},"previous":{"title":"静态文件","level":"1.2.4","depth":2,"path":"基础/静态文件.md","ref":"基础/静态文件.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-sharing","sharing-plus","anchor-navigation-ex","theme-vuejs-2"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"search":{},"sharing-plus":{"qq":false,"all":["facebook","google","twitter","instapaper","linkedin","pocket","stumbleupon"],"douban":false,"facebook":true,"weibo":false,"instapaper":false,"whatsapp":false,"hatenaBookmark":false,"twitter":true,"messenger":false,"line":false,"vk":false,"pocket":true,"google":false,"viber":false,"stumbleupon":false,"qzone":false,"linkedin":false},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"theme-vuejs-2":{},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"anchor-navigation-ex":{"mode":"float","pageTop":{"level1Icon":"","level2Icon":"","level3Icon":"","showLevelIcon":false},"showLevel":true,"tocLevel1Icon":"fa fa-hand-o-right","tocLevel2Icon":"fa fa-hand-o-right","tocLevel3Icon":"fa fa-hand-o-right","showGoTop":true,"isShowTocTitleIcon":true,"printLog":false,"multipleH1":true,"associatedWithSummary":true,"float":{"floatIcon":"fa fa-navicon","level1Icon":"","level2Icon":"","level3Icon":"","showLevelIcon":false}},"sharing":{"qq":true,"all":["weibo","qq","linkedin","qzone","douban"],"douban":false,"weibo":true,"instapaper":false,"whatsapp":false,"hatenaBookmark":false,"twitter":false,"messenger":false,"line":false,"vk":false,"pocket":false,"viber":false,"stumbleupon":false,"qzone":true,"linkedin":false},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Diboot接口基础项目","gitbook":"*","description":"Diboot接口基础项目"},"file":{"path":"基础/模板文件.md","mtime":"2018-11-08T08:51:40.936Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-11-10T15:09:18.458Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-sharing-plus/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

